{{#*inline "LoopsAllowedExample"}}
{{#message role="user"}}## Goal
I want you to generate 10 random numbers and send them to another helper.
{{~/message}}

{{#message role="assistant"}}Here's a Handlebars template that achieves the goal:
```handlebars
\{{!-- Step 0: Extract key values --}}
\{{set
  "count"
  10
}}
\{{!-- Step 1: Loop using the count --}}
\{{#each
  (range
    1
    count
  )
}}
  \{{!-- Step 2: Create random number --}}
  \{{set
    "randomNumber"
    (Example{{nameDelimiter}}Random
      seed=this
    )
  }}
  \{{!-- Step 3: Call example helper with random number and print the result to the screen --}}
  \{{set
    "result"
    (Example{{nameDelimiter}}Helper
      input=randomNumber
    )
  }}
  \{{json (concat "The result" " " "is:" " " result)}}
\{{/each}}
```{{/message}}
{{/inline}}